package com.estate.common.core.domain.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 角色表 sys_role
 * 
 * @author ruoyi
 */
@Data
public class SysRoleAddReq implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 角色名称 */
    @NotBlank(message = "Role name cannot be empty")
    @Size(min = 0, max = 30, message = "Role name cannot exceed 30 characters")
    private String roleName;

    /** 角色权限 */
    @NotBlank(message = "Role tag cannot be empty")
    private String roleTag;

    /** 角色状态（0正常 1停用） */
    private String status;

}
